<template>
  <el-row class="tac">
    <el-col :span="24">
      <h5 class="mb-2">火车购票系统</h5>
      <el-menu default-active="2" class="el-menu-vertical-demo">
        <el-sub-menu index="1">
          <template #title>
            <el-icon><location /></el-icon>
            <span>功能模块</span>
          </template>
          <!-- <el-menu-item-group> -->
          <el-menu-item index="1-1">
            <slot name="orderQuery"></slot>
          </el-menu-item>
          <el-menu-item index="1-2">
            <slot name="ticketQuery"></slot>
          </el-menu-item>
          <!-- </el-menu-item-group> -->
        </el-sub-menu>
      </el-menu>
    </el-col>
  </el-row>
</template>

<script lang="ts" setup>
import {
  Document,
  Menu as IconMenu,
  Location,
  Setting,
} from "@element-plus/icons-vue";
</script>
